#ifndef __SPLITTER_H
#define __SPLITTER_H

#include <stdbool.h>

typedef struct Token {
	char *text;
} token_t;

typedef struct TokenCollection {
	unsigned char count;
	token_t tokens[10];
} tokenCollection_t;

typedef struct ParsedPath {
	unsigned char device;
	unsigned char drive;
	char path[237];
	char file[17];
} parsedPath_t;

tokenCollection_t* splitString(char *source);
void __fastcall__ removeQuotes(unsigned char index, tokenCollection_t *collection);
bool isPattern(char *source);
parsedPath_t *parsePath(unsigned char index, tokenCollection_t *collection, unsigned char currentDriveIndex);

#endif